Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add avs manager #19

Merged
merged 9 commits into from
Apr 10, 2024

Conversation

mikebraver
Copy link
Contributor

Description

Add avs manager to manage avs, operator with exocore chain


x/taskmanageravs/client/cli/tx.go Fixed Show fixed Hide fixed
x/taskmanageravs/client/cli/tx.go Fixed Show fixed Hide fixed
x/taskmanageravs/client/cli/tx.go Fixed Show fixed Hide fixed
x/avs/client/cli/tx.go Fixed Show fixed Hide fixed
x/taskmanageravs/module_simulation.go Fixed Show fixed Hide fixed
x/avs/module_simulation.go Fixed Show fixed Hide fixed
x/taskmanageravs/types/params.go Fixed Show fixed Hide fixed

// String implements the Stringer interface.
func (p Params) String() string {
out, _ := yaml.Marshal(p)

Check warning

Code scanning / gosec

Returned error is not propagated up the stack. Warning

Returned error is not propagated up the stack.
x/taskmanageravs/module.go Fixed Show fixed Hide fixed
x/avs/module.go Fixed Show fixed Hide fixed
x/avs/types/tx.pb.go Fixed Show fixed Hide fixed
x/avs/types/tx.pb.go Fixed Show fixed Hide fixed
x/taskmanageravs/types/tx.pb.go Fixed Show fixed Hide fixed
x/taskmanageravs/types/tx.pb.go Fixed Show fixed Hide fixed
@mikebraver mikebraver force-pushed the feat/avs-manager branch 3 times, most recently from 3abf8d2 to 6bce504 Compare April 1, 2024 14:15
x/avs/module.go Fixed Show fixed Hide fixed
proto/exocore/avs/tx.proto Outdated Show resolved Hide resolved
proto/exocore/avs/tx.proto Outdated Show resolved Hide resolved
proto/exocore/avs/tx.proto Outdated Show resolved Hide resolved
proto/exocore/taskmanageravs/tx.proto Outdated Show resolved Hide resolved
}

message RegisterAVSTaskReq {
string AVSAddress = 1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registering tasks might need permission control, maybe only the owner of the AVS can register its task? It seems like this RPC can be called anyone.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will check the author address to make sure it's valid operator address, and bls for verification

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing: the assets supported by the AVS, correct? Will it be implemented in a quorum form?

proto/exocore/avs/tx.proto Show resolved Hide resolved
x/taskmanageravs/client/cli/tx.go Outdated Show resolved Hide resolved
x/avs/client/cli/query.go Outdated Show resolved Hide resolved
x/avs/client/cli/tx.go Outdated Show resolved Hide resolved
@mikebraver mikebraver marked this pull request as ready for review April 8, 2024 18:42
x/avs/keeper/keeper.go Outdated Show resolved Hide resolved
@mikebraver mikebraver force-pushed the feat/avs-manager branch 2 times, most recently from 0c748a7 to 89d1b0e Compare April 10, 2024 09:00
@mikebraver mikebraver force-pushed the feat/avs-manager branch 5 times, most recently from f0b2e21 to 5974130 Compare April 10, 2024 10:27
@mikebraver mikebraver force-pushed the feat/avs-manager branch 2 times, most recently from 939d12d to 124bebc Compare April 10, 2024 12:21
Copy link
Contributor

@MaxMustermann2 MaxMustermann2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor changes requested, thank you.

precompiles/avs/types.go Outdated Show resolved Hide resolved
proto/exocore/avs/tx.proto Show resolved Hide resolved
x/avs/client/cli/tx.go Outdated Show resolved Hide resolved
x/avs/client/cli/tx.go Show resolved Hide resolved
x/avs/types/errors.go Outdated Show resolved Hide resolved
x/avs/keeper/params.go Outdated Show resolved Hide resolved
@mikebraver mikebraver merged commit 3eb094d into ExocoreNetwork:develop Apr 10, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants